package com.springboot_gradrecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.interview.PageInterviewRequest;
import com.springboot_gradrecruit.model.entity.Interview;
import com.springboot_gradrecruit.model.vo.interview.InterviewVO;
import org.springframework.stereotype.Service;

/**
* @author zr
* @description 针对表【new】的数据库操作Service
* @createDate 2024-12-09 14:40:37
*/
@Service
public interface InterviewService extends IService<Interview> {

    PageResponse<InterviewVO> pageInterview(PageInterviewRequest pageInterviewRequest);

    PageResponse<InterviewVO> pageInterviewByEnterprise(PageInterviewRequest pageInterviewRequest);

    InterviewVO queryInterviewById(Long interviewId);

    boolean updateInterviewIsOffer(Long interviewId, String interviewIsOffer);
}
